import request from '@/utils/request'

// 查询接受记录列表
export function listReceiveLog(query) {
  return request({
    url: '/system/receiveLog/list',
    method: 'get',
    params: query
  })
}

// 查询接受记录详细
export function getReceiveLog(id) {
  return request({
    url: '/system/receiveLog/' + id,
    method: 'get'
  })
}

// 新增接受记录
export function addReceiveLog(data) {
  return request({
    url: '/system/receiveLog',
    method: 'post',
    data: data
  })
}

// 修改接受记录
export function updateReceiveLog(data) {
  return request({
    url: '/system/receiveLog',
    method: 'put',
    data: data
  })
}

// 删除接受记录
export function delReceiveLog(id) {
  return request({
    url: '/system/receiveLog/' + id,
    method: 'delete'
  })
}
